package com.kotlin.usercenter.service

import com.kotlin.usercenter.data.protocol.UseInfo
import rx.Observable

interface UserService {

    fun register(mobile: String, verifyCode: String, pwd: String): Observable<Boolean>

    fun login(mobile: String, pwd: String): Observable<UseInfo>

    fun forgetPwd(mobile: String, verifyCode: String): Observable<Boolean>

    fun resetPwd(mobile: String, pwd: String): Observable<Boolean>
}